#使用标志完成练习7-5
from turtle import Turtle


prompt="\nHow old are you ?"
prompt+="\n(Output your age)"

active=True
while active:
    age=int(input(prompt))
    if age<3:
        print("Your fare is free")
        active=False
    elif age<12:
        print("Your fare is $10")
        active=False
    else:
        print("Your fare is $15")
        active=False
